import regular from '@/utils/regular'
const mm = {
  shortMessage: {
    createDicsObj: {},
    updateRight: false,
    pageHeight: 0,
    isCreate: '',
    dialogVisible: false,
    jumpId: {},
    active: false,
    tableData: [],
    totalCount: 0,
    searchInfo: {
      keyword: ''
    },
    copySearchInfo: {
      keyword: ''
    },
    page: {
      maxResultCount: 0,
      pageNo: 0,
      pageSize: 20,
      skipCount: 0
    }
  },
  advertising: {
    item: {
      advertisingType: '',
      applicationRange: '',
      automaticId: 0,
      dataId: '',
      endTime: '',
      label: '',
      layoutPosition: '',
      remark: '',
      sort: 0,
      startTime: '',
      status: false,
      tittle: '',
      CEtimer: []
    },
    data: {
      updateRight: false,
      pageHeight: 0,
      isCreate: '',
      dialogVisible: false,
      jumpId: '',
      active: false,
      LAYOUT_POSITION: '',
      accreditArr: {},
      accreditChildren: {},
      advertisingTypeArr: [{
        value: 0,
        label: '商机'
      },
      {
        value: 1,
        label: '直播'
      },
      {
        value: 2,
        label: '课程'
      }
      ],
      resultDics: {},
      statusOptions: [{
        value: true,
        label: '是'
      },
      {
        value: false,
        label: '否'
      }
      ],
      cacheSearchCondition: {
        status: null,
        advertisingType: '',
        applicationRange: '',
        tittle: '',
        layoutPosition: ''
      },
      changeSelectOr: false,
      loading: true,
      advertising_type: [],
      isEditor: false,
      input: '',
      tableData: [],
      dics: [],
      totalCount: 0,
      handleSearchInfoMation: false,
      advertisingId: '',
      getInitDate: {
        status: null,
        advertisingType: '',
        applicationRange: '',
        tittle: '',
        layoutPosition: ''
      },
      page: {
        maxResultCount: 0,
        pageNo: 0,
        pageSize: 20,
        skipCount: 0
      },
      projectDTOs: [], // 用于创建课程商品存放选择的数组
      courseDTOS: [] // 用于创建课程商品存放选择的数组
    }
  },
  BusinessDetail: {
    item: {
      automaticId: 7,
      birthplace: '',
      category: '',
      companyId: '',
      concernNumber: 0,
      creationTime: '',
      creatorUserId: '',
      cycle: 0,
      deleted: false,
      deleterUserId: '',
      deletionTime: null,
      description: '',
      directShopNumber: 20,
      foundTime: '',
      franchiseArea: '',
      franchisedStoreNumber: '',
      id: '',
      initialInvestment: 0,
      investmentMax: 20,
      investmentMin: 15,
      label: '',
      negative: 0,
      passengerFlow: 0,
      praise: 0,
      price: 0,
      profit: 0,
      projectName: '',
      projectType: '',
      recommendNumber: 0,
      remark: '',
      salesVolume: 0,
      status: false,
      storeNumber: 15,
      suitCrowd: '',
      warrant: false,
      warrantContent: ''
    }
  },
  Operating: {
    dialogVisible: false,
    updateRight: false,
    active: false,
    jumpId: '',
    isCreate: false,
    accreditChildren: {},
    accreditArr: {},
    changeSelectOr: false,
    loading: true,
    searchInfo: {
      keyword: ''
    },
    copysearInfo: {
      keyword: ''
    },
    page: {
      maxResultCount: 0,
      pageNo: 0,
      pageSize: 20,
      skipCount: 0
    },
    totalCount: 0,
    tableData: [],
    memberLevel: [],
    levels: []
  },
  live: {
    putInfoMation:{
      tittle:'',
      content:""
    },
    PutLiveId:'',
    testDialogVisible:false,
    createDialogVisible: false,
    isCreate: false,
    dialogVisible: false,
    updateRight: false,
    active: false,
    jumpId: '',
    questionNeedId: '',
    questionNeedMemberId: '',
    showLiveQuestion: false,
    accreditArr: {},
    accreditChildren: {},
    deleteArr: [],
    liveId: null,
    dialogVisible: false,
    tableData: [],
    inputVisible: false,
    questionArr: [],
    options: [{
      label: '预告',
      value: 0
    },
    {
      label: '正在直播',
      value: 1
    },
    {
      label: '回放',
      value: 2
    }
    ],
    loading1: true,
    editorLive: {},
    rules: {
      tittle: regular.require1,
      startTime: regular.require1,
      duration: regular.require1,
      content:regular.require1
    },
    input: '',
    playStream: {
      play: {},
      push: ''
    },
    loading: true,
    totalCount: 0,
    changeSelectOr: false,
    searchInfo: {
      identification: null, // 直播标识
      keyword: '', // 关键字信息
      projectName: '', // 商机的名称
      tittle: '', // 直播标题
      status: null
    },
    inputValue: '',
    copySearchInfo: {
      identification: null, // 直播标识
      keyword: '', // 关键字信息
      projectName: '', // 商机的名称
      tittle: '', // 直播标题
      status: null
    },
    page: {
      // 分页信息
      maxResultCount: 0,
      pageNo: 0,
      pageSize: 20,
      skipCount: 0
    },
    statusOptions: [{
      label: '是',
      value: true
    },
    {
      label: '否',
      value: false
    }
    ]
  },
  InfomationManage: {
    dicsCode:{},
    dialogVisible: false,
    jumpId: '',
    pageHeight: 0,
    updateRight: false,
    isCreate: false,
    active: false,
    accreditArr: {},
    accreditChildren: {},
    loading: true,
    changeSelectOr: false,
    tableData: [],
    totalCount: 0,
    searchInfoMations: {
      tittle: '',
      keyword: '',
      nickName: '',
      topic: '',
      type: null,
      status: null
    },
    copySearchInfoMations: {
      tittle: '',
      keyword: '',
      nickName: '',
      topic: '',
      type: null,
      status: null
    },
    page: {
      maxResultCount: 0,
      pageNo: 0,
      pageSize: 20,
      skipCount: 0
    },
    options: [{
      key: '生意资讯',
      val: 0
    },
    {
      key: '生意圈',
      val: 1
    },
    {
      key: '线下沙龙',
      val: 2
    },
     {
      key: '新闻快讯',
      val: 3
    }
    ],
    statusOptions: [{
      key: '是',
      val: 1
    },
    {
      key: '否',
      val: 0
    }
    ]
  }
}
export default mm
